package command {
	import receiver.Light;
	/**
	 * ...
	 * @author wibrst@qq.com
	 */
	public class CmdLightOff implements ICommand{
		
		public function CmdLightOff( light:Light ) {
			this._light = light;
		}
		
		/* INTERFACE command.ICommand */
		
		public function execute():void {
			this._light.off();
		}
		
		public function undo():void {
			this._light.on();
		}
		
		private var _light:Light;
		
	}

}